<tmpl_include file='breadcrumb.html'>
<!-- syntax highlighter for code 

THIS NEEDS TO BE CONSOLIDATED INTO ONE FILE - TOO MANY INCLUDES!!
-->
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushBash.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushCpp.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushCSharp.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushCss.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushDelphi.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushDiff.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushGroovy.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushJava.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushJScript.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushPhp.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushPlain.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushPython.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushRuby.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushScala.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushSql.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushVb.js"></script>
<script type="text/javascript" src="templates/Vram/src/syntaxhighlighter/scripts/shBrushXml.js"></script>
<link type="text/css" rel="stylesheet" href="templates/Vram/src/syntaxhighlighter/styles/shCore.css"/>
<link type="text/css" rel="stylesheet" href="templates/Vram/src/syntaxhighlighter/styles/shThemeDefault.css"/>
<script type="text/javascript">
	SyntaxHighlighter.config.clipboardSwf = 'templates/Vram/src/syntaxhighlighter/scripts/clipboard.swf';
	SyntaxHighlighter.all();
</script>
  <tmpl_if name='posts'>
    <div align="right" class="pagination"><span class="pagination_inside">{tmpl_var name='show_pagination'}</span></div><br />
    <table width="900" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="35" colspan="2" class="category_background"><img src="templates/Vram/images/ftitle_icon.png" /> {tmpl_var name='topic_name'}</td>
      </tr>
      <tmpl_loop name='posts'>
      <tr>
        <td class="info_background" height="23" colspan="2"><span style="float: left;">Re: post subject</span><span style="float: right; padding-right: 5px;">Posted on {tmpl_var name='post_time'}</span></td>
      </tr>
      <tr>
        <td width="17%" align="center" valign="top" class="firstblock extrapadding"><br /><a href="{tmpl_var name='profile_link'}" class="topic_author">{tmpl_var name='user_name'}</a><br /><br />
        <tmpl_if name='has_avatar' op='!='>
          <img src="storedfiles/avatars/{tmpl_var name='username'}" class="reflect" />
        </tmpl_else>
          <img src="templates/Vram/images/no_avatar.png" class="reflect" />
        </tmpl_if>
        </td>
        <td rowspan="2" valign="top" class="lastblock extrapadding">{tmpl_var name='post_text'}<br />
          <tmpl_if name='user_signature'>
            <div class="post_signature">{tmpl_var name='user_signature'}</div>
          </tmpl_if>
          </td>
      </tr>
      <tr>
        <td align="center" valign="middle" class="firstblock extrapadding"><tmpl_if name='is_online'>Online</tmpl_else>Offline</tmpl_if></td>
        </tr>
      </tmpl_loop>
      </table><br />
        <div align="right" class="pagination"><span class="pagination_inside">{tmpl_var name='show_pagination'}</span></div>
  <tmpl_else>
    <table width="900" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="35" colspan="2" class="category_background"><img src="templates/Vram/images/ftitle_icon.png" /> {tmpl_var name='topic_name'}</td>
      </tr>
      <tr>
        <td height="23" colspan="6" class="info_background">No Posts!</td>
      </tr>
      <tr>
        <td align="center" class="lastblock totalpt"><br />
          Unfortunatly, something went wrong and no posts could be found within this topic - perhaps the database is corrupt?<br />
          <br />
          <br /></td>
      </tr>
    </table>
  </tmpl_if>
